//
//  ViewController.swift
//  photoTool
//
//  Created by 刘清元 on 2022/8/22.
//

import UIKit

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view.
        let VC = IndexViewController.init()
        let nav = UINavigationController.init(rootViewController: VC)
        let windowScence = UIApplication.shared.connectedScenes.first
        let window:UIWindow = windowScence?.value(forKeyPath: "delegate.window") as! UIWindow
        window.rootViewController = nav
    }


}

